<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ipopt: src/Algorithm/IpAlgStrategy.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 40px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ipopt Documentation
   &#160;<!--span id="projectnumber">3.14.12</span-->
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('IpAlgStrategy_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">IpAlgStrategy.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="IpAlgStrategy_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Copyright (C) 2004, 2006 International Business Machines and others.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// All Rights Reserved.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// This code is published under the Eclipse Public License.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// Authors:  Carl Laird, Andreas Waechter     IBM    2004-08-13</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef __IPALGSTRATEGY_HPP__</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define __IPALGSTRATEGY_HPP__</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpOptionsList_8hpp.html">IpOptionsList.hpp</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpJournalist_8hpp.html">IpJournalist.hpp</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpIpoptCalculatedQuantities_8hpp.html">IpIpoptCalculatedQuantities.hpp</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpIpoptNLP_8hpp.html">IpIpoptNLP.hpp</a>&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpIpoptData_8hpp.html">IpIpoptData.hpp</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceIpopt.html">Ipopt</a></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html">   34</a></span>&#160;<span class="keyword">class </span><a class="code" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html">AlgorithmStrategyObject</a>: <span class="keyword">public</span> <a class="code" href="classIpopt_1_1ReferencedObject.html">ReferencedObject</a></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;{</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#af2d972f86eec83a96682bd6741a1d265">   40</a></span>&#160;   <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#af2d972f86eec83a96682bd6741a1d265">AlgorithmStrategyObject</a>()</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;      : initialize_called_(false)</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;   { }</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#aea25a150f7488885653c082eca5dab45">   45</a></span>&#160;   <span class="keyword">virtual</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#aea25a150f7488885653c082eca5dab45">~AlgorithmStrategyObject</a>()</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;   { }</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#aa2cb1ac4ea5b97c9283bc0fdb71da1d1">   66</a></span>&#160;   <span class="keywordtype">bool</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#aa2cb1ac4ea5b97c9283bc0fdb71da1d1">Initialize</a>(</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1Journalist.html">Journalist</a>&amp;          jnlst,</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;      <a class="code" href="classIpopt_1_1IpoptNLP.html">IpoptNLP</a>&amp;                  ip_nlp,</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;      <a class="code" href="classIpopt_1_1IpoptData.html">IpoptData</a>&amp;                 ip_data,</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;      <a class="code" href="classIpopt_1_1IpoptCalculatedQuantities.html">IpoptCalculatedQuantities</a>&amp; ip_cq,</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1OptionsList.html">OptionsList</a>&amp;         options,</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;      <span class="keyword">const</span> std::string&amp;         prefix</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;   )</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;   {</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;      initialize_called_ = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;      <span class="comment">// Copy the pointers for the problem defining objects</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;      jnlst_ = &amp;jnlst;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;      ip_nlp_ = &amp;ip_nlp;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      ip_data_ = &amp;ip_data;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;      ip_cq_ = &amp;ip_cq;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;      <span class="keywordtype">bool</span> retval = InitializeImpl(options, prefix);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;      <span class="keywordflow">if</span>( !retval )</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;      {</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;         initialize_called_ = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;      }</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;      <span class="keywordflow">return</span> retval;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;   }</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#ac624e5a883f5c655cb0abbaa24eafcf9">   97</a></span>&#160;   <span class="keywordtype">bool</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#ac624e5a883f5c655cb0abbaa24eafcf9">ReducedInitialize</a>(</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1Journalist.html">Journalist</a>&amp;  jnlst,</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1OptionsList.html">OptionsList</a>&amp; options,</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;      <span class="keyword">const</span> std::string&amp; prefix</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;   )</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;   {</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;      initialize_called_ = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;      <span class="comment">// Copy the pointers for the problem defining objects</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;      jnlst_ = &amp;jnlst;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;      ip_nlp_ = NULL;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;      ip_data_ = NULL;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;      ip_cq_ = NULL;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;      <span class="keywordtype">bool</span> retval = InitializeImpl(options, prefix);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;      <span class="keywordflow">if</span>( !retval )</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;      {</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;         initialize_called_ = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;      }</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;      <span class="keywordflow">return</span> retval;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;   }</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a6e5ef59a257a61c928515ea78fd5c148">  123</a></span>&#160;   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a6e5ef59a257a61c928515ea78fd5c148">InitializeImpl</a>(</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1OptionsList.html">OptionsList</a>&amp; options,</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;      <span class="keyword">const</span> std::string&amp; prefix</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;   ) = 0;</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;   <span class="keyword">const</span> <a class="code" href="classIpopt_1_1Journalist.html">Journalist</a>&amp; Jnlst()<span class="keyword"> const</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keyword">   </span>{</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;      <a class="code" href="IpDebug_8hpp.html#a346733cd6806024295f8c3564071d021">DBG_ASSERT</a>(initialize_called_);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;      <span class="keywordflow">return</span> *jnlst_;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;   }</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a2a151fb4b58f2186237b55d97af77ef7">  138</a></span>&#160;   <a class="code" href="classIpopt_1_1IpoptNLP.html">IpoptNLP</a>&amp; <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a2a151fb4b58f2186237b55d97af77ef7">IpNLP</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="keyword">   </span>{</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;      <a class="code" href="IpDebug_8hpp.html#a346733cd6806024295f8c3564071d021">DBG_ASSERT</a>(initialize_called_);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;      <a class="code" href="IpDebug_8hpp.html#a346733cd6806024295f8c3564071d021">DBG_ASSERT</a>(<a class="code" href="namespaceIpopt.html#a412b04fd3180a55969ff76224d5bfec6">IsValid</a>(ip_nlp_));</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;      <span class="keywordflow">return</span> *ip_nlp_;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;   }</div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a8b39e20ef00543ac41de1e4bb8a75930">  144</a></span>&#160;   <a class="code" href="classIpopt_1_1IpoptData.html">IpoptData</a>&amp; <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a8b39e20ef00543ac41de1e4bb8a75930">IpData</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keyword">   </span>{</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;      <a class="code" href="IpDebug_8hpp.html#a346733cd6806024295f8c3564071d021">DBG_ASSERT</a>(initialize_called_);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;      <a class="code" href="IpDebug_8hpp.html#a346733cd6806024295f8c3564071d021">DBG_ASSERT</a>(<a class="code" href="namespaceIpopt.html#a412b04fd3180a55969ff76224d5bfec6">IsValid</a>(ip_data_));</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;      <span class="keywordflow">return</span> *ip_data_;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;   }</div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#aa597d0c5c9f01cb0f3970f49fea8a730">  150</a></span>&#160;   <a class="code" href="classIpopt_1_1IpoptCalculatedQuantities.html">IpoptCalculatedQuantities</a>&amp; <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#aa597d0c5c9f01cb0f3970f49fea8a730">IpCq</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="keyword">   </span>{</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;      <a class="code" href="IpDebug_8hpp.html#a346733cd6806024295f8c3564071d021">DBG_ASSERT</a>(initialize_called_);</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;      <a class="code" href="IpDebug_8hpp.html#a346733cd6806024295f8c3564071d021">DBG_ASSERT</a>(<a class="code" href="namespaceIpopt.html#a412b04fd3180a55969ff76224d5bfec6">IsValid</a>(ip_cq_));</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;      <span class="keywordflow">return</span> *ip_cq_;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;   }</div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a5f6310084b90871ee4eec3d89bb407ee">  156</a></span>&#160;   <span class="keywordtype">bool</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a5f6310084b90871ee4eec3d89bb407ee">HaveIpData</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keyword">   </span>{</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespaceIpopt.html#a412b04fd3180a55969ff76224d5bfec6">IsValid</a>(ip_data_);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;   }</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;   <span class="comment">//AlgorithmStrategyObject();</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a662778d37614c58bd7299260fd54a401">  177</a></span>&#160;   <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a662778d37614c58bd7299260fd54a401">AlgorithmStrategyObject</a>(</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html">AlgorithmStrategyObject</a>&amp;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;   );</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a5f8f8775cc10dc0a3ff91ec345e3affe">  182</a></span>&#160;   <span class="keywordtype">void</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a5f8f8775cc10dc0a3ff91ec345e3affe">operator=</a>(</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html">AlgorithmStrategyObject</a>&amp;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;   );</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160; </div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;   <a class="code" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;const Journalist&gt;</a> jnlst_;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a52e6df16538cc859e99cb764e67b9acf">  190</a></span>&#160;   <a class="code" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;IpoptNLP&gt;</a> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a52e6df16538cc859e99cb764e67b9acf">ip_nlp_</a>;</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a300fab52e53ccee1223bfaa1585129db">  191</a></span>&#160;   <a class="code" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;IpoptData&gt;</a> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a300fab52e53ccee1223bfaa1585129db">ip_data_</a>;</div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a1c339999b0232bdaefc1fb7c623ad761">  192</a></span>&#160;   <a class="code" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;IpoptCalculatedQuantities&gt;</a> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a1c339999b0232bdaefc1fb7c623ad761">ip_cq_</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classIpopt_1_1AlgorithmStrategyObject.html#a71fb1af37ead96891f9508b5df8ce5d6">  196</a></span>&#160;   <span class="keywordtype">bool</span> <a class="code" href="classIpopt_1_1AlgorithmStrategyObject.html#a71fb1af37ead96891f9508b5df8ce5d6">initialize_called_</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;};</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;} <span class="comment">// namespace Ipopt</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_aea25a150f7488885653c082eca5dab45"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#aea25a150f7488885653c082eca5dab45">Ipopt::AlgorithmStrategyObject::~AlgorithmStrategyObject</a></div><div class="ttdeci">virtual ~AlgorithmStrategyObject()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00045">IpAlgStrategy.hpp:45</a></div></div>
<div class="ttc" id="aclassIpopt_1_1IpoptData_html"><div class="ttname"><a href="classIpopt_1_1IpoptData.html">Ipopt::IpoptData</a></div><div class="ttdoc">Class to organize all the data required by the algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="IpIpoptData_8hpp_source.html#l00097">IpIpoptData.hpp:98</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_aa597d0c5c9f01cb0f3970f49fea8a730"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#aa597d0c5c9f01cb0f3970f49fea8a730">Ipopt::AlgorithmStrategyObject::IpCq</a></div><div class="ttdeci">IpoptCalculatedQuantities &amp; IpCq() const</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00150">IpAlgStrategy.hpp:150</a></div></div>
<div class="ttc" id="aclassIpopt_1_1IpoptCalculatedQuantities_html"><div class="ttname"><a href="classIpopt_1_1IpoptCalculatedQuantities.html">Ipopt::IpoptCalculatedQuantities</a></div><div class="ttdoc">Class for all IPOPT specific calculated quantities.</div><div class="ttdef"><b>Definition:</b> <a href="IpIpoptCalculatedQuantities_8hpp_source.html#l00086">IpIpoptCalculatedQuantities.hpp:87</a></div></div>
<div class="ttc" id="aIpOptionsList_8hpp_html"><div class="ttname"><a href="IpOptionsList_8hpp.html">IpOptionsList.hpp</a></div></div>
<div class="ttc" id="anamespaceIpopt_html"><div class="ttname"><a href="namespaceIpopt.html">Ipopt</a></div><div class="ttdoc">This file contains a base class for all exceptions and a set of macros to help with exceptions.</div><div class="ttdef"><b>Definition:</b> <a href="IpInexactAlgBuilder_8hpp_source.html#l00013">IpInexactAlgBuilder.hpp:14</a></div></div>
<div class="ttc" id="aIpJournalist_8hpp_html"><div class="ttname"><a href="IpJournalist_8hpp.html">IpJournalist.hpp</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a8b39e20ef00543ac41de1e4bb8a75930"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a8b39e20ef00543ac41de1e4bb8a75930">Ipopt::AlgorithmStrategyObject::IpData</a></div><div class="ttdeci">IpoptData &amp; IpData() const</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00144">IpAlgStrategy.hpp:144</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a5f8f8775cc10dc0a3ff91ec345e3affe"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a5f8f8775cc10dc0a3ff91ec345e3affe">Ipopt::AlgorithmStrategyObject::operator=</a></div><div class="ttdeci">void operator=(const AlgorithmStrategyObject &amp;)</div><div class="ttdoc">Default Assignment Operator.</div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a2a151fb4b58f2186237b55d97af77ef7"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a2a151fb4b58f2186237b55d97af77ef7">Ipopt::AlgorithmStrategyObject::IpNLP</a></div><div class="ttdeci">IpoptNLP &amp; IpNLP() const</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00138">IpAlgStrategy.hpp:138</a></div></div>
<div class="ttc" id="aIpIpoptCalculatedQuantities_8hpp_html"><div class="ttname"><a href="IpIpoptCalculatedQuantities_8hpp.html">IpIpoptCalculatedQuantities.hpp</a></div></div>
<div class="ttc" id="aconfig__default_8h_html_a58bb5c104ee5ff44b7175fc992d89b0b"><div class="ttname"><a href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a></div><div class="ttdeci">#define IPOPTLIB_EXPORT</div><div class="ttdef"><b>Definition:</b> <a href="config__default_8h_source.html#l00011">config_default.h:10</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a52e6df16538cc859e99cb764e67b9acf"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a52e6df16538cc859e99cb764e67b9acf">Ipopt::AlgorithmStrategyObject::ip_nlp_</a></div><div class="ttdeci">SmartPtr&lt; IpoptNLP &gt; ip_nlp_</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00190">IpAlgStrategy.hpp:190</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a5f6310084b90871ee4eec3d89bb407ee"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a5f6310084b90871ee4eec3d89bb407ee">Ipopt::AlgorithmStrategyObject::HaveIpData</a></div><div class="ttdeci">bool HaveIpData() const</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00156">IpAlgStrategy.hpp:156</a></div></div>
<div class="ttc" id="aclassIpopt_1_1SmartPtr_html"><div class="ttname"><a href="classIpopt_1_1SmartPtr.html">Ipopt::SmartPtr</a></div><div class="ttdoc">Template class for Smart Pointers.</div><div class="ttdef"><b>Definition:</b> <a href="IpSmartPtr_8hpp_source.html#l00164">IpSmartPtr.hpp:165</a></div></div>
<div class="ttc" id="aIpIpoptData_8hpp_html"><div class="ttname"><a href="IpIpoptData_8hpp.html">IpIpoptData.hpp</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_ac624e5a883f5c655cb0abbaa24eafcf9"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#ac624e5a883f5c655cb0abbaa24eafcf9">Ipopt::AlgorithmStrategyObject::ReducedInitialize</a></div><div class="ttdeci">bool ReducedInitialize(const Journalist &amp;jnlst, const OptionsList &amp;options, const std::string &amp;prefix)</div><div class="ttdoc">Reduced version of the Initialize method, which does not require special Ipopt information.</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00097">IpAlgStrategy.hpp:97</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_af2d972f86eec83a96682bd6741a1d265"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#af2d972f86eec83a96682bd6741a1d265">Ipopt::AlgorithmStrategyObject::AlgorithmStrategyObject</a></div><div class="ttdeci">AlgorithmStrategyObject()</div><div class="ttdoc">Default Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00040">IpAlgStrategy.hpp:40</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a662778d37614c58bd7299260fd54a401"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a662778d37614c58bd7299260fd54a401">Ipopt::AlgorithmStrategyObject::AlgorithmStrategyObject</a></div><div class="ttdeci">AlgorithmStrategyObject(const AlgorithmStrategyObject &amp;)</div><div class="ttdoc">Default Constructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a1c339999b0232bdaefc1fb7c623ad761"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a1c339999b0232bdaefc1fb7c623ad761">Ipopt::AlgorithmStrategyObject::ip_cq_</a></div><div class="ttdeci">SmartPtr&lt; IpoptCalculatedQuantities &gt; ip_cq_</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00192">IpAlgStrategy.hpp:192</a></div></div>
<div class="ttc" id="aclassIpopt_1_1Journalist_html"><div class="ttname"><a href="classIpopt_1_1Journalist.html">Ipopt::Journalist</a></div><div class="ttdoc">Class responsible for all message output.</div><div class="ttdef"><b>Definition:</b> <a href="IpJournalist_8hpp_source.html#l00116">IpJournalist.hpp:117</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a6e5ef59a257a61c928515ea78fd5c148"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a6e5ef59a257a61c928515ea78fd5c148">Ipopt::AlgorithmStrategyObject::InitializeImpl</a></div><div class="ttdeci">virtual bool InitializeImpl(const OptionsList &amp;options, const std::string &amp;prefix)=0</div><div class="ttdoc">Implementation of the initialization method that has to be overloaded by for each derived class.</div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html">Ipopt::AlgorithmStrategyObject</a></div><div class="ttdoc">This is the base class for all algorithm strategy objects.</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00034">IpAlgStrategy.hpp:35</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a412b04fd3180a55969ff76224d5bfec6"><div class="ttname"><a href="namespaceIpopt.html#a412b04fd3180a55969ff76224d5bfec6">Ipopt::IsValid</a></div><div class="ttdeci">bool IsValid(const SmartPtr&lt; U &gt; &amp;smart_ptr)</div><div class="ttdef"><b>Definition:</b> <a href="IpSmartPtr_8hpp_source.html#l00672">IpSmartPtr.hpp:672</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_aa2cb1ac4ea5b97c9283bc0fdb71da1d1"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#aa2cb1ac4ea5b97c9283bc0fdb71da1d1">Ipopt::AlgorithmStrategyObject::Initialize</a></div><div class="ttdeci">bool Initialize(const Journalist &amp;jnlst, IpoptNLP &amp;ip_nlp, IpoptData &amp;ip_data, IpoptCalculatedQuantities &amp;ip_cq, const OptionsList &amp;options, const std::string &amp;prefix)</div><div class="ttdoc">This method is called every time the algorithm starts again - it is used to reset any internal state.</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00066">IpAlgStrategy.hpp:66</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a300fab52e53ccee1223bfaa1585129db"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a300fab52e53ccee1223bfaa1585129db">Ipopt::AlgorithmStrategyObject::ip_data_</a></div><div class="ttdeci">SmartPtr&lt; IpoptData &gt; ip_data_</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00191">IpAlgStrategy.hpp:191</a></div></div>
<div class="ttc" id="aIpDebug_8hpp_html_a346733cd6806024295f8c3564071d021"><div class="ttname"><a href="IpDebug_8hpp.html#a346733cd6806024295f8c3564071d021">DBG_ASSERT</a></div><div class="ttdeci">#define DBG_ASSERT(test)</div><div class="ttdef"><b>Definition:</b> <a href="IpDebug_8hpp_source.html#l00028">IpDebug.hpp:27</a></div></div>
<div class="ttc" id="aclassIpopt_1_1OptionsList_html"><div class="ttname"><a href="classIpopt_1_1OptionsList.html">Ipopt::OptionsList</a></div><div class="ttdoc">This class stores a list of user set options.</div><div class="ttdef"><b>Definition:</b> <a href="IpOptionsList_8hpp_source.html#l00032">IpOptionsList.hpp:33</a></div></div>
<div class="ttc" id="aclassIpopt_1_1AlgorithmStrategyObject_html_a71fb1af37ead96891f9508b5df8ce5d6"><div class="ttname"><a href="classIpopt_1_1AlgorithmStrategyObject.html#a71fb1af37ead96891f9508b5df8ce5d6">Ipopt::AlgorithmStrategyObject::initialize_called_</a></div><div class="ttdeci">bool initialize_called_</div><div class="ttdoc">flag indicating if Initialize method has been called (for debugging)</div><div class="ttdef"><b>Definition:</b> <a href="IpAlgStrategy_8hpp_source.html#l00196">IpAlgStrategy.hpp:196</a></div></div>
<div class="ttc" id="aIpIpoptNLP_8hpp_html"><div class="ttname"><a href="IpIpoptNLP_8hpp.html">IpIpoptNLP.hpp</a></div></div>
<div class="ttc" id="aclassIpopt_1_1ReferencedObject_html"><div class="ttname"><a href="classIpopt_1_1ReferencedObject.html">Ipopt::ReferencedObject</a></div><div class="ttdoc">Storing the reference count of all the smart pointers that currently reference it.</div><div class="ttdef"><b>Definition:</b> <a href="IpReferenced_8hpp_source.html#l00169">IpReferenced.hpp:170</a></div></div>
<div class="ttc" id="aclassIpopt_1_1IpoptNLP_html"><div class="ttname"><a href="classIpopt_1_1IpoptNLP.html">Ipopt::IpoptNLP</a></div><div class="ttdoc">This is the abstract base class for classes that map the traditional NLP into something that is more ...</div><div class="ttdef"><b>Definition:</b> <a href="IpIpoptNLP_8hpp_source.html#l00035">IpIpoptNLP.hpp:36</a></div></div>
</body>
</html>
